package cn.four.hqServer.common.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author znb
 * @since 2023-02-23
 */
@TableName("hq_interest_record")
@ApiModel(value = "HqInterestRecord对象", description = "")
public class HqInterestRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键 ")
    @TableId
    private Long id;

    @ApiModelProperty("银行卡号")
    private String cardId;

    @ApiModelProperty("利息金额")
    private BigDecimal interestAmount;

    @ApiModelProperty("交易时间")
    private LocalDateTime tranTime;

    @ApiModelProperty("备注")
    private String notes;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }
    public BigDecimal getInterestAmount() {
        return interestAmount;
    }

    public void setInterestAmount(BigDecimal interestAmount) {
        this.interestAmount = interestAmount;
    }
    public LocalDateTime getTranTime() {
        return tranTime;
    }

    public void setTranTime(LocalDateTime tranTime) {
        this.tranTime = tranTime;
    }
    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    @Override
    public String toString() {
        return "HqInterestRecord{" +
            "id=" + id +
            ", cardId=" + cardId +
            ", interestAmount=" + interestAmount +
            ", tranTime=" + tranTime +
            ", notes=" + notes +
        "}";
    }
}
